package com.youlai.boot.factory.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.factory.model.entity.SysTenantDatasource;
import com.youlai.boot.factory.model.form.SysTenantDatasourceForm;

/**
 * 租户数据源配置对象转换器
 *
 * @author youlaitech
 * @since 2025-11-22 08:31
 */
@Mapper(componentModel = "spring")
public interface SysTenantDatasourceConverter{

    SysTenantDatasourceForm toForm(SysTenantDatasource entity);

    SysTenantDatasource toEntity(SysTenantDatasourceForm formData);
}